loans-api
Amend Collateral Right
Description: This endpoint is used to amend collateral-right based on the below json request.
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: Na
Query Params: NA
Content-type: application/json
Mulesoft Request
To use the service to amend collateral right.
{
"customerId": "1000067570",
"collateralCode": "14",
"reviewFrequency": "M1201",
"expiryDate": "20250125",
"notes": "LOAN"
}
Mulesoft Response In Case Of Amend:
Success Response: (200)
"status": {
"success": "true",
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"collateral": {
"validitDate": "20230220",
"reviewFrequency": "20240201M1201",
"limit": []
}
}